package alarm;

public class AlarmFactory {
	Alarm alarm;

	public AlarmFactory() {
		alarm = new Alarm();
	}

	public Filter createFilter(String filterList) {
		return new StringFilter(filterList);
	}

	public Alarm getAlarm() {
		return alarm;
	}

	public Detector createDetector() {
		return new Detector();
	}

}
